// PropertyRuntime.cpp: implementation of the PropertyRuntime class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "FunctionRuntime.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
namespace pa
{
	FunctionRuntime::FunctionRuntime()
	{

	}

	FunctionRuntime::~FunctionRuntime()
	{

	}



	FunctionRuntimeClass* FunctionRuntimeClass::p_fRuntime = NULL;

	Afx_Initclass::Afx_Initclass(FunctionRuntimeClass* pNewClass)
	{
		pNewClass->p_nRuntime = FunctionRuntimeClass::p_fRuntime;
		FunctionRuntimeClass::p_fRuntime = pNewClass;
	}

	FunctionParser* FunctionRuntimeClass::CreateObject()
	{
		if(m_createobject== NULL)
		{
			return NULL;
		}
		FunctionParser * p_Functionparser = NULL;
		p_Functionparser = (*m_createobject)();
		return p_Functionparser;
	}

};